﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Collections.ObjectModel;

namespace SD.Commons.DataFilters
{
    /// <summary>
    /// DepartmentFilter
    /// </summary>
    [Serializable]
    public class DepartmentFilter
    {
        /// <summary>
        /// Gets the beginning letters.
        /// </summary>
        public Collection<string> BeginningLetters { get; private set; }

        /// <summary>
        /// Gets or sets a value indicating whether [include inactive].
        /// </summary>
        /// <value>
        ///   <c>true</c> if [include inactive]; otherwise, <c>false</c>.
        /// </value>
        [System.ComponentModel.DefaultValue(false)]
        public bool IncludeInactive { get; set; }

        /// <summary>
        /// Sets the beginning letters.
        /// </summary>
        /// <param name="beginningLetters">The beginning letters.</param>
        public void SetBeginningLetters(Collection<string> beginningLetters)
        {
            BeginningLetters = beginningLetters;
        }

        /// <summary>
        /// Gets or sets the directorate id.
        /// </summary>
        /// <value>
        /// The directorate id.
        /// </value>
        [System.ComponentModel.DefaultValue(-1)]
        public int DirectorateId { get; set; }
    }
}
